package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.AccBillDetails;
import com.fdb.efp.nls.service.vo.AccBillDetailsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>DAO interface:贷款交易明细				<p>
 * @author chenqm1
 * @date 2018-05-28
 */
public interface AccBillDetailsDao {
	
	public int insertAccBillDetails(AccBillDetails accBillDetails);
	
	public int deleteByPk(AccBillDetails accBillDetails);
	
	public int updateByPk(AccBillDetails accBillDetails);
	
	public AccBillDetails queryByPk(AccBillDetails accBillDetails);
	
	public int batchInsertAccBillDetails(@Param(value = "accBillDetails") List<AccBillDetailsVO> accBillDetailsList);

	public List<AccBillDetails> queryAllOwnerByPage(AccBillDetailsVO accBillDetails);
	/**
	 * 根据交易日期删除数据
	 * @param tradeDate
	 * @return
	 */
	public void deleteByTradeDate(String tradeDate);
}
